package com.library.dao;

import com.library.model.Staff;
import java.util.List;
import java.util.Map;

public interface StaffDao {

    List<Staff> findAll();

    List<Staff> findByCriteria(Map<String, Object> criteria);

    Staff findById(Long id);

    Staff findByEmployeeId(String employeeId);

    int save(Staff staff);

    int update(Staff staff);

    int delete(Long id);
}
